<@user.user_html>    
    <div class="clear"></div>
	<div class="showmanage">
		<span style="float:left; font-size:14px; line-height:30px;"><a href="${base}/space/?domain=${(mySpace.domain)!}" title="${(mySpace.user.loginName)!}的个人网站" >${base}/space/?domain=${(mySpace.domain)!}</a></span>
      <input name="input" type="button" class="sm" value="个人档案" onClick="window.location.href='${base}/user/file/'"/>
    </div>
    <#--暂 不 实现
	<div class="CityMemeber">
		
		<div class="citytop">
			<h2>推荐会员</h2>
			<p>
				你现在的所在地：
				<select name="">
				  <option>中国</option>
				</select>
				<select name="">
				  <option>辽宁</option>
				</select>
				<select name="">
				  <option>大连</option>
				</select>
				<input name="input" type="button" class="sm" value="保 存" style="color:#666666" />
			</p>
			<div class="clear"></div>
		</div>
		
		<div class="citybody">
			<ul>
				<li>
					<img src="${base}/images/temp/temp_city.jpg" />
					<div class="cityx">
						<span>刘佳</span>
						<em>VIP</em>
					</div>
					<p>平面模特儿</p>
				</li>
				<li>
					<img src="${base}/images/temp/temp_city.jpg" />
					<div class="cityx">
						<span>刘佳</span>
						<em>VIP</em>
					</div>
					<p>平面模特儿</p>
				</li>
				<li>
					<img src="${base}/images/temp/temp_city.jpg" />
					<div class="cityx">
						<span>刘佳</span>
						<em>VIP</em>
					</div>
					<p>平面模特儿</p>
				</li>
				<li>
					<img src="${base}/images/temp/temp_city.jpg" />
					<div class="cityx">
						<span>刘佳</span>
						<em>VIP</em>
					</div>
					<p>平面模特儿</p>
				</li>
				<li>
					<img src="${base}/images/temp/temp_city.jpg" />
					<div class="cityx">
						<span>刘佳</span>
						<em>VIP</em>
					</div>
					<p>平面模特儿</p>
				</li>
				<li>
					<img src="${base}/images/temp/temp_city.jpg" />
					<div class="cityx">
						<span>刘佳</span>
						<em>VIP</em>
					</div>
					<p>平面模特儿</p>
				</li>
				<li>
					<img src="${base}/images/temp/temp_city.jpg" />
					<div class="cityx">
						<span>刘佳</span>
						<em>VIP</em>
					</div>
					<p>平面模特儿</p>
				</li>
				<li>
					<img src="${base}/images/temp/temp_city.jpg" />
					<div class="cityx">
						<span>刘佳</span>
						<em>VIP</em>
					</div>
					<p>平面模特儿</p>
				</li>
	
			</ul>
			<div class="clear"></div>
		</div>
	</div>-->

    <div class="Mwarp">
    	<div class="Mleft">
    		<#-- 嵌入导航-->
			<#include "/WEB-INF/content/include/user/app.ftl">
            <div class="clear" style="padding-top:10px;"></div>
            <div class="Mbox">
            	<div class="boxtop">
                	<h4>${(mySpace.user.name)!}</h4>
                </div>
                <div class="boxBody">
                	<div class="boxlogo">
                    	<img id="avatar_img" src="<#if mySpace??&&mySpace.user??&&mySpace.user.avatar??>${(mySpace.user.avatar)!}<#else>${base}/images/temp/euro2012.jpg</#if>" width="165px" height="165px"/>
                    </div>
                    <#--<h6 style="margin-top:10px;"><input name="" type="button" class="sm" value="修改头像" style="font-size:12px;"  /></h6>-->
                    <h6>${(mySpace.user.city)!}</h6>
                    <#--<ul class="smallbox">
                    	<li>&nbsp;</li>
                        <li>&nbsp;</li>
                        <li>&nbsp;</li>
                        <li>&nbsp;</li>
                    </ul>-->
                    <div class="boxbtn">
                    	<#--<input name="" type="button" class="sm" value="添加关注" style="font-size:12px;" />
                        <input name="" type="button" class="sm" value="发送短信" style="font-size:12px;"/>
                        -->
                    </div>
                    <div class="v1">
                    	<div class="vbox">
                        	<span>V1</span>
                            <P>美分:<em>${(spacePoint)!}%</em></P>
                            <div class="clear"></div>
                        </div>
                        <div class="v1bg">
                            <div style="width:${(spacePoint)!}%"><span>${(spacePoint)!} 美分</span></div>
                        </div>
                        <div class="vlink">
                        </div>
                    </div>
                    <div class="clear"></div>
                    <#--
                    <div class="vpay">
                    	<p>你现在有 <em>0</em> 美元 ></p>        
                        <span><a href="#">充值</a></span>
                        <div class="clear"></div>
                    </div>-->
                    <table class="Vnum">
                    	<colgroup width="50%"></colgroup>
                        <colgroup width="50%"></colgroup>
                    	<tr>
                        	<th colspan="2">总访问量:${(mySpace.user.visitCount)!}</th>
                        </tr>
                        <tr>
                        	<td>封面:${(spaceCoverCount)!}</td>
                            <td>展示:${(showCount)!}</td>
                        </tr>
                        <tr>
                        	
                            <td>微博:${(moodCount)!}</td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
        
        <div class="Mmiddle">
        	
        	<div class="Mbox Mbodybox middle" >
				<div class="boxtop">
					<h3>提示</h3>
				</div>
				<div class="boxBody">
					<ul class="messages">
                    	<li><a href="${base}/user/friend/index!waited">待审核的好友邀请(${(newFriendsCount)!})</a></li>
                        <li><a href="${base}/user/message/">新的站内信(${(newMessagesCount)!})</a></li>
                       	<#if !avatarFlag> <li><a href="${base}/user/avatar/">您还未上传头像</a></li></#if>
                    </ul>
				</div>
			</div>
            
            <#--
            <div class="Mbox Mbodybox middle" >
				<div class="boxtop">
					<h3>微 博</h3>
                    <div class="boxright">
                    	<input name="" type="button" class="sm" value="表 情" style="font-size:12px;" />
                        <input name="" type="button" class="sm" value="图 片" style="font-size:12px;" />
                        <input name="" type="button" class="sm" value="视 频" style="font-size:12px;" />
                    </div>
				</div>
				<div class="boxBody">
					<p style="color:#bb0000; font-size:16px; line-height:24px; padding:10px 0px;">
                    	请把您瞬间的思想告诉我们……
                    </p>
                    <textarea name="" cols="" rows="" class="t" style="width:400px; height:100px; margin-left:35px;"></textarea>
                    <p style="padding:10px 0px;padding-left:35px;"> <input name="" type="button" class="sm" value="发 送" style="font-size:12px;" /> <em style="color:#bb0000; font-size:14px;">限 140 字符</em></p>
				</div>
			</div>
            -->
            <div class="Mbox Mbodybox middle" >
				<div class="boxtop">
					<h3>纠 结</h3>
                    <#--<div class="boxright">
                    	当前所在地:<select name=""></select><select name=""></select><select name=""></select>
                        <input name="" type="button" class="sm" value="保 存" style="font-size:12px;" />
                    </div>-->
				</div>
				<div class="boxBody">
					 <p style="padding:10px 0px;padding-left:35px;"> <input name="" onclick="openFaceDialog('tangleArea')" type="button" class="sm" value="表 情" style="font-size:12px;" /> </p>
					 <form name="mokeForm" id="mokeForm" action="${base}/user/mood/index!pub" method="post">
                    	<textarea id="mode_content" name="mood.content" cols="" rows="" class="t" style="width:400px; height:100px; margin-left:35px;"></textarea>
                    	<p style="padding:10px 0px;padding-left:35px;"> <input name="" type="submit" class="sm" value="发 送" style="font-size:12px;" /> <em style="color:#bb0000; font-size:14px;">限 300 字符</em></p>
                      </form>
				</div>
			</div>
            
            <div class="middle_x">
            	<div class="x_top">
                	<h2>动 态</h2>
                    <div class="x_menu">
                    	<ul>
                        	<li onmouseover="this.className='check'" onmouseout="this.className=''" class="check" ><a href="#">全部</a><span></span></li>
                            <li onmouseover="this.className='check'" onmouseout="this.className=''"><a href="${base}/user/show/">展示</a><span></span></li>
                            <li onmouseover="this.className='check'" onmouseout="this.className=''"><a href="${base}/user/mood/">纠结</a><span></span></li>
                            <li onmouseover="this.className='check'" onmouseout="this.className=''"><a href="${base}/user/vote/">投票</a><span></span></li>
                            <li onmouseover="this.className='check'" onmouseout="this.className=''"><a href="${base}/user/secret/">秘密</a><span></span></li>
                            <li onmouseover="this.className='check'" onmouseout="this.className=''"><a href="${base}/user/topic/">转帖</a><span></span></li>
                            <li onmouseover="this.className='check'" onmouseout="this.className=''"><a href="${base}/user/music/">音乐</a><span></span></li>
                        </ul>
                    </div>
                    <div class="clear"></div>
                </div>
                <div class="x_body">
                	<div class="x_group">
                    	<div class="x_group_date">今天</div>
                        <ul>
                        	<#if applications??>
                        	<#list applications as application>
                        		<#if application.getClasz()?exists>
                        			<#if application.getClasz().getSimpleName() == "Mood">
			                        	<li>
			                            	<span>VIP</span>
			                                <div class="x_group_m">
			                                	<p>${(application.space.user.loginName)!} → <b>纠结</b> >${(application.content)!}</p>
			                                    
			                                </div>
			                                <em><#if application.pubTime?exists>${application.pubTime?string("MM-dd hh:mm")}</#if></em>
			                                <div class="clear"></div>
			                            </li>
                            		</#if>
                            		<#if application.getClasz().getSimpleName() == "Topic">
                            			<li>
			                            	<span>VIP</span>
			                                <div class="x_group_m">
			                                	<p>${(application.space.user.loginName)!} → <b>转贴</b> >${(application.title)!}</p>
			                                    <p><img src="${(application.cover)!}" width="100px" height="75px"/></p>
			                                </div>
			                                <em><#if application.pubTime?exists>${application.pubTime?string("MM-dd hh:mm")}</#if></em>
			                                <div class="clear"></div>
			                            </li>
                            		</#if>
                            		<#if application.getClasz().getSimpleName() == "Vote">
                            			<li>
			                            	<span>VIP</span>
			                                <div class="x_group_m">
			                                	<p>${(application.space.user.loginName)!} → <b>发起投票</b> >${(application.title)!}</p>
			                                </div>
			                                <em><#if application.pubTime?exists>${application.pubTime?string("MM-dd hh:mm")}</#if></em>
			                                <div class="clear"></div>
			                            </li>
                            		</#if>
                            		<#if application.getClasz().getSimpleName() == "Music">
                            			<li>
			                            	<span>VIP</span>
			                                <div class="x_group_m">
			                                	<p>${(application.space.user.loginName)!} → <b>收藏音乐</b> >${(application.singer)!}~${(application.name)!}</p>
			                                </div>
			                                <em><#if application.pubTime?exists>${application.pubTime?string("MM-dd hh:mm")}</#if></em>
			                                <div class="clear"></div>
			                            </li>
                            		</#if>
                            	</#if> 
							</#list>
							</#if>
                            <div class="clear" style="height:10px;"></div>
                        </ul>
                        
                    </div>
                </div>
                <div class="x_foot">
                	<p style="padding:5px 0px;">仅显示最新的100条</p>
                    <div><img src="${base}/images/top.gif" style="margin-top:5px; float:right;" /><input name="" type="button" class="sm" value="到 顶" onclick="$('#focusTarget').focus();" style="font-size:12px; margin-right:10px; float:right" /></div>
                    <div class="clear"></div>
                </div>            
            </div>
            
        </div>
        
        <div class="Mrigh">
        	<div class="person_r_box">
            	<h2>在线个人</h2>
                <div class="r_boxbody">
                	<ul>
                		<#list friendConfigList as friend>
                		<li>
                        	<div class="img">
                        		<a href="${base}/space/?domain=${(friend.relater.user.loginName)!}" target="_blank">
                        		<img id="avatar_img" src="<#if (friend.relater.user.avatar)??&&((friend.relater.user.avatar)?has_content)>${(friend.relater.user.avatar)!}<#else>${base}/images/temp/person_list.gif</#if>" width="53px" height="56px"/>
                        		</a>
                        	</div>
                            <span>
                            	<a href="${base}/space/?domain=${(friend.relater.user.loginName)!}" target="_blank">
                            		${(friend.relater.user.loginName?right_pad(8)?substring(0,8))!}
                            	</a>
                            </span>
                            <em></em>
                            <div><p>SVP</p></div>
                            <div class="clear"></div>
                        </li>
                		</#list>

                    </ul>
                    
                </div>
                
            </div>
            
            
            <#--
            <div class="person_r_box">
            	<h2>在线机构 (2) </h2>
                <div class="r_boxbody">
                	<ul>
                		
                    	<li>
                        	<div class="img"><img src="${base}/images/temp/person_list.gif" /></div>
                            <span>钱正文</span>
 
                            <div><p>SVP</p></div>
                            <div class="clear"></div>
                        </li>
                        <li>
                        	<div class="img"><img src="${base}/images/temp/person_list.gif" /></div>
                            <span>钱正文钱正文钱正文钱正文</span>

                            <div><p>SVP</p></div>
                            <div class="clear"></div>
                        </li>
                    </ul>
                </div>
            </div>
            -->
            <div class="person_r_box">
            	<h2>访 客</h2>
                <div class="r_boxbody">
                	<ul>
                		<#if visitors??>
                		<#list visitors as visitor>
                    	<li>
                        	<div class="img">
                        		<#if (visitor??)&&(visitor.headPic??)&&(visitor.headPic?has_content)>
                        			<a href="${base}/space/?domain=${(visitor.spaceName)!}" target="_blank">
                        				<img src="${(visitor.headPic)!}" width="53px" height="56px"/>
                        			</a>
                        		<#else>
                        			<a href="${base}/space/?domain=${(visitor.spaceName)!}" target="_blank">
                        				<img src="${base}/images/temp/person_list.gif" />
                        			</a>
                        		</#if>
                        	</div>
                            <span><a href="${base}/space/?domain=${(visitor.spaceName)!}" target="_blank">${(visitor.spaceName)!}</a></span>
                            <em>${(visitor.visitDate)!}</em>
                            <div class="clear"></div>
                        </li>
                      	</#list>
                      	</#if>
                    </ul>
                </div>
            </div>
        
        </div>
		
		
        <div class="clear"></div>
    </div>
    
<script type="text/javascript" src="${statics}/plugins/jmodal/js/jquery.jmodal.js"></script>
<link rel="stylesheet" href="${statics}/plugins/jmodal/css/jquery.jmodal.css" type="text/css" media="screen" />
    <script>
        	$(document).ready(function() {
            <#if message??&&message=="LOGINPOINT">
           	$.fn.jmodal({
                title: '欢迎登陆美美网',
                content: '登陆后加一美分',
                buttonText: { ok: '好的'},
                okEvent: function(obj, args) {
                    args.complete();
                }
            });
            </#if>
        });
    </script>
</@user.user_html>